<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: CID Register Masks</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__sd__host__macros__cid.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">CID Register Masks<div class="ingroups"><a class="el" href="group__group__sd__host.html">SD Host      (SD Host Controller)</a> &raquo; <a class="el" href="group__group__sd__host__macros.html">Macros</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<p>The masks below can be used with the <a class="el" href="group__group__sd__host__low__level__functions.html#ga696ef05ed804ae1fb21147bdded903a9">Cy_SD_Host_GetCid</a> function. </p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gacde5956fc79caa30477aa63037c178ce"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__cid.html#gacde5956fc79caa30477aa63037c178ce">CY_SD_HOST_SCR_CID_MDT</a>&#160;&#160;&#160;(0x00000FFFUL)</td></tr>
<tr class="memdesc:gacde5956fc79caa30477aa63037c178ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">The manufacturing date is composed of two hexadecimal digits (contained in cid[0]), one is 8 bits representing the year(y) and the other is 4 bits representing the month (m).  <a href="#gacde5956fc79caa30477aa63037c178ce">More...</a><br /></td></tr>
<tr class="separator:gacde5956fc79caa30477aa63037c178ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0df469282a85d07915ee5ac7d8df148"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__cid.html#gac0df469282a85d07915ee5ac7d8df148">CY_SD_HOST_SCR_CID_PSN_LSB</a>&#160;&#160;&#160;(0xFFFF0000UL)</td></tr>
<tr class="memdesc:gac0df469282a85d07915ee5ac7d8df148"><td class="mdescLeft">&#160;</td><td class="mdescRight">The mask for LSB part of the Serial Number (contained in cid[0]).  <a href="#gac0df469282a85d07915ee5ac7d8df148">More...</a><br /></td></tr>
<tr class="separator:gac0df469282a85d07915ee5ac7d8df148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37bb7fca6733a10dbcee8b1985d2e4b6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__cid.html#ga37bb7fca6733a10dbcee8b1985d2e4b6">CY_SD_HOST_SCR_CID_PSN_MSB</a>&#160;&#160;&#160;(0x0000FFFFUL)</td></tr>
<tr class="memdesc:ga37bb7fca6733a10dbcee8b1985d2e4b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The mask for MSB part of the Serial Number (contained in cid[1]).  <a href="#ga37bb7fca6733a10dbcee8b1985d2e4b6">More...</a><br /></td></tr>
<tr class="separator:ga37bb7fca6733a10dbcee8b1985d2e4b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd9976bbcb06b1fa00f5ed93caadd170"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__cid.html#gabd9976bbcb06b1fa00f5ed93caadd170">CY_SD_HOST_SCR_CID_PRV</a>&#160;&#160;&#160;(0x00FF0000UL)</td></tr>
<tr class="memdesc:gabd9976bbcb06b1fa00f5ed93caadd170"><td class="mdescLeft">&#160;</td><td class="mdescRight">The product revision is composed of two Binary Coded Decimal (BCD) digits (contained in cid[1]), four bits each, representing an "n.m" revision number.  <a href="#gabd9976bbcb06b1fa00f5ed93caadd170">More...</a><br /></td></tr>
<tr class="separator:gabd9976bbcb06b1fa00f5ed93caadd170"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07d813c753c6baad442ae15a4f643995"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__cid.html#ga07d813c753c6baad442ae15a4f643995">CY_SD_HOST_SCR_CID_PNM_LSB</a>&#160;&#160;&#160;(0xFF000000UL)</td></tr>
<tr class="memdesc:ga07d813c753c6baad442ae15a4f643995"><td class="mdescLeft">&#160;</td><td class="mdescRight">The mask for LSB part (the first 8 bits) of the product name (contained in cid[1]).  <a href="#ga07d813c753c6baad442ae15a4f643995">More...</a><br /></td></tr>
<tr class="separator:ga07d813c753c6baad442ae15a4f643995"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0268d19a942044a2f9935e5c1d34329f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__cid.html#ga0268d19a942044a2f9935e5c1d34329f">CY_SD_HOST_SCR_CID_PNM_MSB</a>&#160;&#160;&#160;(0xFFFFFFFFUL)</td></tr>
<tr class="memdesc:ga0268d19a942044a2f9935e5c1d34329f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The mask for MSB part (the last 32 bits) of the product name (contained in cid[2]).  <a href="#ga0268d19a942044a2f9935e5c1d34329f">More...</a><br /></td></tr>
<tr class="separator:ga0268d19a942044a2f9935e5c1d34329f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga193f0ae5de4feb92723c597a3a18af21"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__cid.html#ga193f0ae5de4feb92723c597a3a18af21">CY_SD_HOST_SCR_CID_OID</a>&#160;&#160;&#160;(0x0000FFFFUL)</td></tr>
<tr class="memdesc:ga193f0ae5de4feb92723c597a3a18af21"><td class="mdescLeft">&#160;</td><td class="mdescRight">The mask for the OID (contained in cid[3]).  <a href="#ga193f0ae5de4feb92723c597a3a18af21">More...</a><br /></td></tr>
<tr class="separator:ga193f0ae5de4feb92723c597a3a18af21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafdd85c9a83d871acf93b9a3b3581bd70"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__sd__host__macros__cid.html#gafdd85c9a83d871acf93b9a3b3581bd70">CY_SD_HOST_SCR_CID_MID</a>&#160;&#160;&#160;(0x00FF0000UL)</td></tr>
<tr class="memdesc:gafdd85c9a83d871acf93b9a3b3581bd70"><td class="mdescLeft">&#160;</td><td class="mdescRight">The mask for the MID (contained in cid[3]).  <a href="#gafdd85c9a83d871acf93b9a3b3581bd70">More...</a><br /></td></tr>
<tr class="separator:gafdd85c9a83d871acf93b9a3b3581bd70"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gacde5956fc79caa30477aa63037c178ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacde5956fc79caa30477aa63037c178ce">&#9670;&nbsp;</a></span>CY_SD_HOST_SCR_CID_MDT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_SCR_CID_MDT&#160;&#160;&#160;(0x00000FFFUL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The manufacturing date is composed of two hexadecimal digits (contained in cid[0]), one is 8 bits representing the year(y) and the other is 4 bits representing the month (m). </p>
<p>The "m" field [11:8] is the month code. 1 = January. The "y" field [19:12] is the year code. 0 = 2000. As an example, the binary value of the Date field for production date "April 2018" will be: 00010010 0100. </p>

</div>
</div>
<a id="gac0df469282a85d07915ee5ac7d8df148"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac0df469282a85d07915ee5ac7d8df148">&#9670;&nbsp;</a></span>CY_SD_HOST_SCR_CID_PSN_LSB</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_SCR_CID_PSN_LSB&#160;&#160;&#160;(0xFFFF0000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The mask for LSB part of the Serial Number (contained in cid[0]). </p>
<p>The Serial Number is 32 bits of binary number. </p>

</div>
</div>
<a id="ga37bb7fca6733a10dbcee8b1985d2e4b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga37bb7fca6733a10dbcee8b1985d2e4b6">&#9670;&nbsp;</a></span>CY_SD_HOST_SCR_CID_PSN_MSB</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_SCR_CID_PSN_MSB&#160;&#160;&#160;(0x0000FFFFUL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The mask for MSB part of the Serial Number (contained in cid[1]). </p>
<p>The Serial Number is 32 bits of binary number. </p>

</div>
</div>
<a id="gabd9976bbcb06b1fa00f5ed93caadd170"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabd9976bbcb06b1fa00f5ed93caadd170">&#9670;&nbsp;</a></span>CY_SD_HOST_SCR_CID_PRV</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_SCR_CID_PRV&#160;&#160;&#160;(0x00FF0000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The product revision is composed of two Binary Coded Decimal (BCD) digits (contained in cid[1]), four bits each, representing an "n.m" revision number. </p>
<p>The "n" is the most significant nibble and "m" is the least significant nibble. As an example, the PRV binary value field for product revision "6.2" will be: 0110 0010b. </p>

</div>
</div>
<a id="ga07d813c753c6baad442ae15a4f643995"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga07d813c753c6baad442ae15a4f643995">&#9670;&nbsp;</a></span>CY_SD_HOST_SCR_CID_PNM_LSB</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_SCR_CID_PNM_LSB&#160;&#160;&#160;(0xFF000000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The mask for LSB part (the first 8 bits) of the product name (contained in cid[1]). </p>
<p>The product name is a string, 5-character ASCII string. As an example, the PNM hex value field for product name "EB1QT" will be: 0x4542315154. </p>

</div>
</div>
<a id="ga0268d19a942044a2f9935e5c1d34329f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0268d19a942044a2f9935e5c1d34329f">&#9670;&nbsp;</a></span>CY_SD_HOST_SCR_CID_PNM_MSB</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_SCR_CID_PNM_MSB&#160;&#160;&#160;(0xFFFFFFFFUL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The mask for MSB part (the last 32 bits) of the product name (contained in cid[2]). </p>
<p>The product name is a string, 5-character ASCII string. As an example, the PNM hex value field for product name "EB1QT" will be: 0x4542315154. </p>

</div>
</div>
<a id="ga193f0ae5de4feb92723c597a3a18af21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga193f0ae5de4feb92723c597a3a18af21">&#9670;&nbsp;</a></span>CY_SD_HOST_SCR_CID_OID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_SCR_CID_OID&#160;&#160;&#160;(0x0000FFFFUL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The mask for the OID (contained in cid[3]). </p>
<p>The OID is a 2-character ASCII string that identifies the card OEM and/or the card contents (when used as a distribution media either on ROM or FLASH cards). The OID number is controlled, defined, and allocated to a SD Memory Card manufacturer by the SD-3C, LLC. This procedure is established to ensure uniqueness of the CID register. As an example, the OID hex value field for the card OEM "SM" will be: 0x534D. </p>

</div>
</div>
<a id="gafdd85c9a83d871acf93b9a3b3581bd70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafdd85c9a83d871acf93b9a3b3581bd70">&#9670;&nbsp;</a></span>CY_SD_HOST_SCR_CID_MID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CY_SD_HOST_SCR_CID_MID&#160;&#160;&#160;(0x00FF0000UL)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The mask for the MID (contained in cid[3]). </p>
<p>MID is a 8-bit binary number that identifies the card manufacturer. The MID number is controlled, defined, and allocated to a SD Memory Card manufacturer by the SD-3C, LLC. This procedure is established to ensure uniqueness of the CID register. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
